-- GENERATED SPELL FOR [Zul'Drak Bat] --


function spell0_28233(pUnit, Event) --@Fatal Bite,Heal--
pUnit:FullCastSpellOnTarget(54663,pUnit)
pUnit:RegisterEvent('Sorts_28233', 675, 1)
end

function Sorts_28233(pUnit, Event)
local choix_sorts_28233 = math.random(0, 0)
if choix_sorts_28233 == 0 then
pUnit:RegisterEvent('spell0_28233', 1, 1)
end
end

function mob28233_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_28233', math.random(1500, 3000), 1)
end

function mob28233_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28233_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28233_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(28233, 1, 'mob28233_Action')
RegisterUnitEvent(28233, 2, 'mob28233_Leave')
RegisterUnitEvent(28233, 3, 'mob28233_Kill')
RegisterUnitEvent(28233, 4, 'mob28233_Die')
